home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Tutorial Material
/
Basic Tutorial
/
percdemo
< prev
Wrap
Lisp/Scheme
|
1998-10-26
|
902b
|
29 lines
; tutorial example - percdemo
(setq symbols '(a b c d e f g))
(def-rhythm
; 1 2 --> Bars
; |---------------|
; |---|---|---|---| fill pattern
perc1 '1/16 "-- -- --- ---- -" (q)
perc2 '1/16 " -- -- --- ---" (r)
perc3 '1/16 "- -- -- -- -" (z)
perc4 '1/16 " - - - - " (p)
bass '1/8 "-- --- - -- ---" symbols
)
(setq tonals (activate-tonality (blues1 c 2) (chromatic c 3)))
(compile-song-p "ccl;output:" 1/4 "percdemo"
; |---|---|---|---|
changes tonals " . . . "
perc1 mt-32 "- ---- ---- -"
perc2 mt-32 " - ---- ---- -"
perc3 mt-32 " - ------ ---"
perc4 mt-32 " - --------"
bass changes "------- ------"
)
; -- perc1-4 set to bongo h, bongo l, cabasa, cowbell on the Roland mt-32